import defaultSettings from "@/settings";
import {
  post,
} from '@/utils/api.js'

const _data = {
  current: 1,
  limit: 20,
  orderBy: {orderByColumn: "", isAsc: "desc"},
  param: {}
}
export const API = {
  // 公告列表
  queryUrl: `${defaultSettings.ctx.nbmsHtes}/s/infoPublish/queryInfoPublishByPage`,
  // 票交所业务提醒
  BUSIREMIMD: () => post(`${defaultSettings.ctx.nbmsHtes}/s/homePage/busiRemimd`, _data),
  // 票交所核心交易业务提醒
  CESBUSIREMIMD: () => post(`${defaultSettings.ctx.nbmsHtes}/s/homePage/cesBusiRemimd`, _data),
  NOTICE: {
    // 消息管理-查询
    SELECTBYID: data => post(`${defaultSettings.ctx.nbmsHtes}/s/infoPublish/selectById?id=${data}`),
  }
}
